package com.mall.common.domain.exceptions;

import lombok.Data;


@Data
public class BizException extends RuntimeException {

    private int code;

    private String message;

    public BizException(String message) {
        this.message = message;
    }

    public BizException(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
